{layout name="layout/layout" /}
<style>
.item{
    background-color: #fff;
}
</style>
<div class="register_head">
    <img id="back" src="__STATIC__/index/img/return.png">
    <p>联系我们</p>
</div>
<div class="main">
    <a id="business_tel" href="javascript:void(0);">
        <div class="item">业务联系<span class="logout_info"><img src="__STATIC__/index/img/edit1.png"></span></div>
    </a>
    <a href="tel:87079451">
        <div class="item">安装暖气<span class="logout_info"><img src="__STATIC__/index/img/edit1.png"></span></div>
    </a>
    <a href="tel:87079453">
        <div class="item">安装空调<span class="logout_info"><img src="__STATIC__/index/img/edit1.png"></span></div>
    </a>
    <a href="tel:13540432097">
        <div class="item">投诉<span class="logout_info"><img src="__STATIC__/index/img/edit1.png"></span></div>
    </a>
<!--{foreach $data as $k=>$v}
    <div class="person1 person1_top">
        <div class="help_question">
            <p class="question_title">Q</p><p class="question_result" >{$v->problem}?</p>
        </div>
        <div class="help_answer">
            <p class="answer_title">A</p><p class="answer_result" >{$v->answer}</p>
        </div>
    </div>
{/foreach}-->
</div>
<script>
  // 取消提示的http地址显示
    window.alert = function(name) {
        var iframe = document.createElement("IFRAME");
        iframe.style.display = "none";
        iframe.setAttribute("src", 'data:text/plain,');
        document.documentElement.appendChild(iframe);
        window.frames[0].window.alert(name);
        iframe.parentNode.removeChild(iframe);
    }
    $(function(){
        $("#back").click(function(){
            window.history.go(-1);
        });

        $('#business_tel').click(function(){
            $.post('{:Url("index/index/business_tel")}',{},function(data){

                    var srt = 'tel:'+data;
                    window.location.href=srt;


            },'json');





        });


    })
</script>
